//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.comprosoft.telnet.command;

import com.comprosoft.telnet.io.IOHandler;
import com.comprosoft.telnet.server.TelnetServer;

public class ExitCommandHandler extends Command {
    public ExitCommandHandler(IOHandler io, TelnetServer telnetServer) {
        super(io, "exit", telnetServer);
    }

    public CommandResult handleCommand(String[] args) {
        super.getIOHandler().WriteLine("goodbye...");
        return CommandResult.COMMAND_EXIT;
    }
}
